<?php echo $this->Form->create("TitleStudy", array("class" => "form", "action" => "add/" . $property_id)); ?>
<fieldset><legend>Información general</legend>
    <table border="1">

        <tbody>
            <tr>
                <td>Nombre del predio:</td>
                <td><?php echo $predio['Property']['nombre'] ?></td>
                <td>Departamento:</td>
                <td><?php echo $predio['Departament']['nombre'] ?></td>
            </tr>
            <tr>
                <td>Municipio:</td>
                <td><?php echo $predio['City']['nombre'] ?></td>

                <td>Vereda:</td>
                <td><?php echo $predio['City']['nombre'] ?></td>
            </tr>
            <tr>
                <td>Área:</td>
                <td><?php echo $predio['Property']['area'] ?></td>

                <td>Área premuta:
                </td>
                <td><?php echo $predio['Property']['area_permuta']  ?></td>
            </tr>

        </tbody>
    </table>



</fieldset>
<fieldset><legend>Observaciones al Dominio</legend>
    <table>
        <tr>
            <td>¿Tiene hipoteca?</td>
            <td><?php echo $this->Form->input('TitleStudy.hipoteca', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.valor_hipoteca', array('label' => 'Valor hipoteca', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Medida cautelar</td>
            <td><?php echo $this->Form->input('TitleStudy.medida_cautelar', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.medida_cautelar_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Falsa tradición</td>
            <td><?php echo $this->Form->input('TitleStudy.falsa_tradicion', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.falsa_tradicion_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Servidumbre</td>
            <td><?php echo $this->Form->input('TitleStudy.servidumbre', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.servidumbre_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>

        <tr>
            <td>Desenglobes</td>
            <td><?php echo $this->Form->input('TitleStudy.desenglobes', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.desenglobes_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Valoración</td>
            <td><?php echo $this->Form->input('TitleStudy.valoracion', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.valoracion_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Lesión enorme</td>
            <td><?php echo $this->Form->input('TitleStudy.lesion_enorme', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.lesion_enorme_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Divisiones materiales</td>
            <td><?php echo $this->Form->input('TitleStudy.divisiones_materiales', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.divisiones_materiales_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Adjudicación de Baldío</td>
            <td><?php echo $this->Form->input('TitleStudy.baldio', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.baldio_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Condición Resolutoria</td>
            <td><?php echo $this->Form->input('TitleStudy.condicion_resolutoria', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.resolutoria_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Afectaciones</td>
            <td><?php echo $this->Form->input('TitleStudy.afectaciones', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.afectaciones_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Afectación Patrimonio inembargable de Familia.</td>
            <td><?php echo $this->Form->input('TitleStudy.patrimonio_familiar', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.patrimonio_familiar_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Extinción al dominio</td>
            <td><?php echo $this->Form->input('TitleStudy.extincion_dominio', array('label' => ' ', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.extincion_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Existe pleno dominio</td>
            <td><?php echo $this->Form->input('TitleStudy.pleno_dominio', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.pleno_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
        <tr>
            <td>Existe otro derecho real principal</td>
            <td><?php echo $this->Form->input('TitleStudy.otro', array('label' => '', 'class' => '', 'empty' => '', 'options' => array('Si' => 'Si', 'No' => 'No'))); ?></td>
            <td><?php echo $this->Form->input('TitleStudy.otro_observacion', array('label' => '', 'class' => '')); ?></td>
        </tr>
    </table>
</fieldset>
<fieldset><legend></legend>

    <?php echo $this->Form->input('TitleStudy.documentos_analizados', array('label' => 'Documentación analizada', 'class' => '')); ?>
    <?php echo $this->Form->input('TitleStudy.concepto', array('label' => 'Evaluación y concepto', 'class' => '')); ?>
    <?php echo $this->Form->input('TitleStudy.calificacion', array('label' => 'Calificación', 'class' => '', 'empty' => '', 'options' => array('Cumple' => 'Cumple', 'No cumple' => 'No cumple', 'Subsanable' => 'Subsanable'))); ?>
    <?php echo $this->Form->hidden('TitleStudy.property_id', array('label' => 'property_id', 'value' => $property_id)); ?>
</fieldset>
<?php echo $this->Form->end("Guardar") ?>

